<template>
  <router-view/>
  <van-tabbar v-model="active" route>
    <van-tabbar-item icon="home-o" to="/">首页</van-tabbar-item>
    <van-tabbar-item icon="setting-o" to="/my">商家</van-tabbar-item>
    <van-tabbar-item icon="search" to="/list">榜单</van-tabbar-item>
    <van-tabbar-item icon="friends-o">发现</van-tabbar-item>
    <van-tabbar-item icon="setting-o" to="/my">我的</van-tabbar-item>
  </van-tabbar>
</template>
<script>
	export default {
	  data() {
	    return {
	      active: 0,
	    };
	  },
	};
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

</style>
